package cn.lyjuan.dwz_manage.core.java.dto;

/**
 * DWZ后台Ajax响应
 * Created by chad on 2016/8/28.
 */
public class DwzApiBean<T>
{
    private int statusCode;

    private String message;

    private T data;

    public int getStatusCode()
    {
        return statusCode;
    }

    public void setStatusCode(int statusCode)
    {
        this.statusCode = statusCode;
    }

    public String getMessage()
    {
        return message;
    }

    public void setMessage(String message)
    {
        this.message = message;
    }

    public T getData()
    {
        return data;
    }

    public void setData(T data)
    {
        this.data = data;
    }

    public DwzApiBean(int statusCode, String message)
    {
        this.statusCode = statusCode;
        this.message = message;
    }

    public DwzApiBean(int statusCode, String message, T data)
    {
        this.statusCode = statusCode;
        this.message = message;
        this.data = data;
    }

    public DwzApiBean()
    {
    }
}
